<extend name="Public/base"/>

<block name="body">
<section class="content">

      <h4 class="modal-title" id="editModalLabel">
         编辑分组信息
      </h4>


      <form role="form" action="__URL__/update" method="post" id="groupForm">
      	   <div class="box-body">

            <div class="form-group">
               <label for="name">标识：</label>
               <input type="text" class="form-control"  name="name" value="{$vo['name']}">
               <input type="hidden" class="form-control"  name="id" value="{$vo['id']}">

            </div>
            <div class="form-group">
               <label>显示名称：</label>
               <input type="text" class="form-control"  name="title" value="{$vo['title']}">
            </div>
            <div class="form-group">
               <label>状态：</label>
               <SELECT name="status" class="form-control">
                  <option value="1" <eq name="vo.status" value="1" >selected</eq> >启用</option>
                  <option value="0" <eq name="vo.status" value="0" >selected</eq> >禁用</option>
               </SELECT>
            </div>
           <div class="form-group">
               <label>Icon：</label>
               <input   name="icon" type="text" class="form-control" value="{$vo['icon']}"/>
           </div>
            <div class="form-group">
               <label>顺序：</label>
               <input   name="sort" type="text" class="form-control" value="0" size="5" value="{$vo['sort']}"/>
            </div>
            </div><!-- /.box-body -->

            <div class="box-footer">
               <button type="submit" class="btn btn-primary">Submit</button>
            </div>
      </form>
      

</section>
</block>
<block name="script">
    <script src="__PUBLIC__/dist/js/bootstrapValidator.js" type="text/javascript"></script>
    <script src="__PUBLIC__/dist/js/language/zh_CN.js" type="text/javascript"></script>
    <script src="__PUBLIC__/dist/js/validator.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            Validator('groupForm');
            iniAjaxFormDetail('#groupForm','__URL__');
        });
    </script>
</block>